package com.qiaoba.api.order.factory;

import com.qiaoba.api.order.OrderApiService;
import org.springframework.cloud.openfeign.FallbackFactory;
import org.springframework.stereotype.Component;


@Component
public class OrderFallbackFactory implements FallbackFactory<OrderApiService> {

    @Override
    public OrderApiService create(Throwable cause) {
        System.out.println("OrderApiService-error");
        return null;
    }
}
